package com.cake.liulanxiangzhu.pojo.dto;


import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 订单商品信息表(OmsOrderItem)输入数据dto类
 *
 * @author dinghao
 * @since 2023-02-23 14:55:31
 */
@Data
public class OmsOrderItemDTO implements Serializable {


    /**
     * 商品规格ID
     */
    @NotNull(message = "商品规格ID不能为空")
    private Integer skuId;

    /**
     * 商品相册ID
     */
    @NotNull(message = "商品相册ID不能为空")
    private Integer albumId;

    /**
     * 商品规格题目
     */
    @NotBlank(message = "商品规格题目不能为空")
    private String title;

    /**
     * 产品单价
     */
    @NotNull(message = "产品单价不能为空")
    private Double price;

    /**
     * 购买数量
     */
    @NotNull(message = "购买数量不能为空")
    private Integer quantity;



}
